MySetUpPort
Sets up the graphics port. When creating a frame, you must designate a callback function to set up a graphics port (GrafPort
) associated with it. For example, this is how you would define your port setup function if you were to name it MySetUpPort:
void* MySetUpPort (JMFrameRef frame);
frame
- The frame that wants the port.
- function result
- Defined by the client application. You can return any value depending on how you want to use the graphics port.
DISCUSSION
- You cannot nest this function.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help